<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script>
			var param={
			result:  "成绩",
			score: 98
			}
			switch(param.score){
				case 3:score>90
				console.log("优秀");
				break;
				case 2:score>80&&score<90 
				console.log("良好");
				break;
				case 1:score>70&&score<80
				console.log("中等");
				break;
				case 0:score>60&&score<70
				console.log("及格");
				break;
				default:
				"不及格"
				break;
				}
		</script>
	</head>
	<body>
	</body>
</html>
